from rest_framework import serializers
from .models import banner
class BannerSerializer(serializers.ModelSerializer):
    image=serializers.ImageField(use_url=True)
    class Meta:
        model=banner
        fields="__all__"